package com.ruoyi.business.customer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.business.base.JoBaseService;
import com.ruoyi.business.base.PageParam;
import com.ruoyi.business.customer.domain.JbOpportunity;
import com.ruoyi.business.customer.domain.vo.JbOpportunityExcle;
import com.ruoyi.business.customer.domain.vo.JbOpportunityInfoVo;
import com.ruoyi.business.customer.domain.vo.JbOpportunityListVo;

import java.util.List;

/**
 * 商机Service接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface JbOpportunityService extends JoBaseService<JbOpportunity>
{
    /**
     * 列表
     * @param page
     * @param jbOpportunity
     * @return
     */
    IPage<JbOpportunityListVo> pageList(PageParam pageParam, JbOpportunity jbOpportunity);

    /**
     * 详情
     * @param id
     * @return
     */
    JbOpportunityInfoVo getInfo(Long id);


    /**
     * 导入数据
     * @param jbCustomerList
     * @return
     */
    Boolean importData(List<JbOpportunityExcle> jbCustomerList);
}
